import request from '@/utils/request'

export const getHospitalizationRecordList = (pageQuery) =>
  request.get('/hospitalizationRecord/admission', { params: pageQuery })

export const getDischargeRecordList = (pageQuery) =>
  request.get('/hospitalizationRecord/discharge', { params: pageQuery })

export const getAdmissionTrend = () =>
  request.get('/hospitalizationRecord/getAdmissionTrend')
